package org.example.memora.entity;



import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@Data
public class Tag {

    @Field("id")
    private Long id;
    // 主键
    @Field("name")
    private String name;
    // 标签名称
    @Field("status")
    private Integer status;
    // 0=禁用,1=启用
    @Field("sort_order")
    private Integer sortOrder;
    @Field("create_time")
    private Date createTime;
}

